<script lang="tsx" setup>
import type { NoticeVO } from '@/service/types/system';

const visible = defineModel<boolean>('visible', {
  default: false
});
interface Props {
  row: NoticeVO;
}
const props = defineProps<Props>();
</script>

<template>
  <div>
    <NDrawer v-model:show="visible" :height="600" placement="top">
      <NDrawerContent :title="props.row.noticeTitle">{{ props.row.noticeContent }}</NDrawerContent>
    </NDrawer>
  </div>
</template>

<style lang="scss" scoped></style>
